package net.confinanz.config;

import java.io.Serializable;

public class ServerConfig implements Serializable {

	private static final long serialVersionUID = 3217062259906194858L;
	private static final String FILENAME = "srvcon.cfg";
	
	private int maxConnections;
	private int serverPort;
	
	private String dbServer;
	private String dbName;
	
	private boolean useSecureTransaction;


	public int getMaxConnections() {
		return maxConnections;
	}

	public void setMaxConnections(int maxConnections) {
		this.maxConnections = maxConnections;
	}

	public int getServerPort() {
		return serverPort;
	}

	public void setServerPort(int serverPort) {
		this.serverPort = serverPort;
	}

	public String getDbServer() {
		return dbServer;
	}

	public void setDbServer(String dbServer) {
		this.dbServer = dbServer;
	}

	public String getDbName() {
		return dbName;
	}

	public void setDbName(String dbName) {
		this.dbName = dbName;
	}

	public boolean isUseSecureTransaction() {
		return useSecureTransaction;
	}

	public void setUseSecureTransaction(boolean useSecureTransaction) {
		this.useSecureTransaction = useSecureTransaction;
	}

	public static String getFilename() {
		return FILENAME;
	}
}